package com.tjbklx1.pattern.flyweight.demo2;

/**
 * 带对象池的报考信息
 * 
 * @author tjbklx1
 * @date 2018-10-11
 */
public class SignInfo4Pool extends SignInfo {
	// 定义一个对象池提取的KEY值
	private String key;

	// 构造函数获得相同标志
	public SignInfo4Pool(String _key) {
		this.key = _key;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}
}